import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:live_music/components/ui/cell.dart';
import 'package:live_music/components/ui/theme.dart';
import 'package:live_music/pages/login/login.dart';
import 'package:live_music/pages/publish/douyin_publish.dart';
import 'package:live_music/pages/setting/privacy_setting.dart';
import 'package:live_music/pages/setting/update_password.dart';
import 'package:live_music/utils/sp_utils.dart';
import 'package:live_music/utils/toast_utils.dart';

class AccountSetting extends StatefulWidget {
  const AccountSetting({Key key}) : super(key: key);

  @override
  State<AccountSetting> createState() => _AccountSettingState();
}

class _AccountSettingState extends State<AccountSetting> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: AppBar(
        title: const Text("账号安全设置"),
      ),
      body: SafeArea(
        child: Column(
          children: [
            Cell(
              '修改密码',
              onTap: () => Get.to(UpdatePassword()),
            ),
          ],
        ),
      ),
    );
  }
}
